package com.lanou3g.bean;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties({"handler","hibernateLazyInitializer"})
public class Fix {
	private Integer id;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date fixTime;
	private Integer flatsId;
	private Integer fixPeopleId;
	private Integer fixStatus; //0表示维修完毕, 1表示正在维修
	private String fixNote;
	private Flats flats;
	private Admin fixPeople;
	
	
	public Flats getFlats() {
		return flats;
	}
	public void setFlats(Flats flats) {
		this.flats = flats;
	}
	public Admin getFixPeople() {
		return fixPeople;
	}
	public void setFixPeople(Admin fixPeople) {
		this.fixPeople = fixPeople;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Date getFixTime() {
		return fixTime;
	}
	public void setFixTime(Date fixTime) {
		this.fixTime = fixTime;
	}
	public Integer getFlatsId() {
		return flatsId;
	}
	public void setFlatsId(Integer flatsId) {
		this.flatsId = flatsId;
	}
	public Integer getFixPeopleId() {
		return fixPeopleId;
	}
	public void setFixPeopleId(Integer fixPeopleId) {
		this.fixPeopleId = fixPeopleId;
	}
	public Integer getFixStatus() {
		return fixStatus;
	}
	public void setFixStatus(Integer fixStatus) {
		this.fixStatus = fixStatus;
	}
	public String getFixNote() {
		return fixNote;
	}
	public void setFixNote(String fixNote) {
		this.fixNote = fixNote;
	}
	public Fix() {
		super();
	}
	
	
}
